package com.zadtek.shopmall.activities;

import android.support.v4.app.Fragment;

import com.zadtek.shopmall.base.AbsViewPagerActivity;
import com.zadtek.shopmall.fragments.AfterMarketFragment;

import java.util.LinkedList;
import java.util.List;

import static com.zadtek.shopmall.activities.RedEnvelopActivity.TAB_1;
import static com.zadtek.shopmall.activities.RedEnvelopActivity.TAB_2;

public class ReturnOrChangeActivity extends AbsViewPagerActivity {

    @Override
    public String getTopTitle() {
        return "售后处理";
    }

    @Override
    protected List<Fragment> getFragments() {
        List<Fragment> fragments = new LinkedList<>();
        fragments.add(AfterMarketFragment.Instance(TAB_1));
        fragments.add(AfterMarketFragment.Instance(TAB_2));
        return fragments;
    }

    @Override
    protected List<String> getTabTitles() {
        List<String> titles = new LinkedList<>();
        titles.add("售后申请");
        titles.add("进度查询");
        return titles;
    }

}
